{% extends "base.html" %}
{% block title %}CycleTracks User Settings{% endblock %}
{% block extra_head %}
<script type="text/javascript" src="/static/jquery.inplace.pack.js"></script>
{% endblock %}

{% block content %}

<form action="/user/settings/" method="post">
  {% for field in form %}
  <div class="fieldWrapper">
    {% if not field.is_hidden %}{{ field.label_tag }}:{%endif%} {{ field }}
  </div>
  {% endfor %}
  <input type="submit" value="Submit" />
</form>

{% for field in form.visible_fields %}
  {% if field.errors %}
    {{ field.label_tag }}:
    {% for error in field.errors %}
      {{ error }},
    {% endfor %}
    {% endif %}
    <br/>
{% endfor %}

{% endblock %}
